package cn.iocoder.yudao.module.common.controller.admin.gradesubjecttextbookversion.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 年级学科版本新增/修改 Request VO")
@Data
public class GradeSubjectTextbookVersionSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24919")
    private Long id;

    @Schema(description = "教材版本名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "23875")
    @NotEmpty(message = "教材版本名称不能为空")
    private String textbookVersionId;

    @Schema(description = "学科ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23648")
    @NotNull(message = "学科ID不能为空")
    private Long subjectId;

    @Schema(description = "年级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13284")
    @NotNull(message = "年级ID不能为空")
    private Long gradeId;

    @Schema(description = "创建人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "创建人ID不能为空")
    private String creatorName;

    @Schema(description = "更新人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "更新人ID不能为空")
    private String updaterName;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "版本号不能为空")
    private Integer version;

}